package com.warm.pump.module.work.mapper.gen;

import com.warm.pump.module.work.bean.po.gen.WorkItem;
import com.warm.pump.module.work.bean.po.gen.WorkItemExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;

@org.apache.ibatis.annotations.Mapper
public interface WorkItemMapper{
    int countByExample(WorkItemExample example);

    int deleteByExample(WorkItemExample example);
    int deleteByPrimaryKey(@Param("id") Long id);
    int insert(WorkItem record);

    int insertSelective(WorkItem record);

    List<WorkItem> selectByExample(WorkItemExample example);
    WorkItem selectByPrimaryKey(@Param("id") Long id);
    int updateByExampleSelective(@Param("record") WorkItem record, @Param("example") WorkItemExample example);

    int updateByExample(@Param("record") WorkItem record, @Param("example") WorkItemExample example);
    int updateByPrimaryKeySelective(WorkItem record);

    int updateByPrimaryKey(WorkItem record);
}
